<script>
import Aside from "@/components/Aside.vue";
import Header from "@/components/Header.vue";
import Main from "@/components/Main.vue";

export default {
  components: { Main, Header, Aside },
  data() {
    return {
      iscollapse: false
    }
  },
  methods: {
    // 添加docollapse方法用于切换侧边栏状态
    docollapse() {
      this.iscollapse = !this.iscollapse;
    }
  }
};
</script>